package io.renren.modules.sys.service;

import java.util.List;
import java.util.Map;

import io.renren.modules.sys.entity.SysCodetypeEntity;

/**
 * 
 * 
 * @author chaolemen
 * @email 2698481037@qq.com
 * @date 2017-12-24 20:58:13
 */
public interface SysCodetypeService {
	
	SysCodetypeEntity queryObject(Long id);
	
	SysCodetypeEntity queryObjectByCode(String typeCode);
	
	List<SysCodetypeEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(SysCodetypeEntity sysCodetype);
	
	void update(SysCodetypeEntity sysCodetype);
	
	void delete(Long id);
	
	void deleteBatch(Long[] ids);

	SysCodetypeEntity queryByTypeCode(String typeCode);
}
